package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;
import java.util.Date;


/**
 * 分店信息
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2022-04-25 15:04:06
 */
@TableName("fendianxinxi")
public class FendianxinxiEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public FendianxinxiEntity() {
		
	}
	
	public FendianxinxiEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
	@TableId
	private Long id;
	/**
	 * 超市名称
	 */
					
	private String chaoshimingcheng;
	
	/**
	 * 密码
	 */
					
	private String mima;
	
	/**
	 * 超市图片
	 */
					
	private String chaoshitupian;
	
	/**
	 * 超市地址
	 */
					
	private String chaoshidizhi;
	
	/**
	 * 分店店长
	 */
					
	private String fendiandianzhang;
	
	/**
	 * 超市电话
	 */
					
	private String chaoshidianhua;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：超市名称
	 */
	public void setChaoshimingcheng(String chaoshimingcheng) {
		this.chaoshimingcheng = chaoshimingcheng;
	}
	/**
	 * 获取：超市名称
	 */
	public String getChaoshimingcheng() {
		return chaoshimingcheng;
	}
	/**
	 * 设置：密码
	 */
	public void setMima(String mima) {
		this.mima = mima;
	}
	/**
	 * 获取：密码
	 */
	public String getMima() {
		return mima;
	}
	/**
	 * 设置：超市图片
	 */
	public void setChaoshitupian(String chaoshitupian) {
		this.chaoshitupian = chaoshitupian;
	}
	/**
	 * 获取：超市图片
	 */
	public String getChaoshitupian() {
		return chaoshitupian;
	}
	/**
	 * 设置：超市地址
	 */
	public void setChaoshidizhi(String chaoshidizhi) {
		this.chaoshidizhi = chaoshidizhi;
	}
	/**
	 * 获取：超市地址
	 */
	public String getChaoshidizhi() {
		return chaoshidizhi;
	}
	/**
	 * 设置：分店店长
	 */
	public void setFendiandianzhang(String fendiandianzhang) {
		this.fendiandianzhang = fendiandianzhang;
	}
	/**
	 * 获取：分店店长
	 */
	public String getFendiandianzhang() {
		return fendiandianzhang;
	}
	/**
	 * 设置：超市电话
	 */
	public void setChaoshidianhua(String chaoshidianhua) {
		this.chaoshidianhua = chaoshidianhua;
	}
	/**
	 * 获取：超市电话
	 */
	public String getChaoshidianhua() {
		return chaoshidianhua;
	}

}
